#include <cstdio>
#include <cassert>
#include <vector>
#include <iostream>

using namespace std;

#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>

#include <semaphore.h>

using namespace cv;

#include <cstring>

#include "protocol.h"
#include "timestamp.h"
#include "transferdaemon.h"
#include "cameradaemon.h"
#include "ptzcontrol.h"
#include "targettrack.h"
#include "visualserver.h"

#define PRINT_SIZE(x) printf("sizeof("#x") = %u\n",sizeof(x))
#define TIME()  TimeStamp::now()->print()


int main(int argc, const char** argv)
{
//    test();
    VisualServer vs;
    vs.run(argc, argv);

    return 0;
}
